home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Misc / NewFile / Source / Main.h < prev    next >
Text File  |  1992-11-11  |  1KB  |  48 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. /*
  5.     --------------------------------------------------------
  6. Main handles various miscellaneous functions as well as being the application's delegate (though not the service delegate; that's Server).
  7.     --------------------------------------------------------
  8. */
  9. #import <objc/Object.h>
  10. #import <sys/param.h>
  11.  
  12. @interface Main:Object
  13. {
  14.     id    protos;
  15.     id    listener;
  16.     id    speaker;
  17.     id    main;
  18.     id    server;
  19.     char    appdir[MAXPATHLEN];
  20. }
  21.  
  22. // Translate a prototype's name into an absolute pathname stored in fullname.
  23. // Returns fullname.
  24. - (char *)fullprotoname:(char *)fullname:(char *)name;
  25.  
  26. // The application's folder.
  27. - (char *)appdir;
  28.  
  29. // Copy a file/directory.
  30. - (int)copyfile:(char *)to:(char *)from;
  31.  
  32. // Initialization proper.
  33. - loadstate;
  34.  
  35. // Store the defaults.
  36. - savestate;
  37.  
  38. // Open a file by messaging the Workspace Manager.
  39. - openinws:(char *)file;
  40.  
  41. // Open a file by messaging an application.
  42. - openineditor:(char *)file:(char *)app;
  43.  
  44. // I'd rather discuss this.
  45. - updateservices:sender;
  46.  
  47. @end
  48.